package com.david.auth.pojo.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @author David
 * @desc 获取token
 * @date 2022/4/18 15:40
 */
@ToString
@Getter
@Setter
@ApiModel("验证token")
public class TokenQuery {

    @ApiModelProperty("appKey")
    @NotEmpty(message = "appKey不能为空")
    private String appKey;

    @ApiModelProperty("token")
    @NotEmpty(message = "token不能为空")
    private String token;

}
